package com.huitong.oss.properties;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.Configuration;

/**
 * 阿里云OSS自定义配置
 *
 * @author fromdrowning
 * @date 2024/5/20 下午1:22
 */
@Data
@Configuration
@ConfigurationProperties(prefix = "oss")
public class OSSCustomProperties {

    /**
     * OSS访问地址
     */
    private String endpoint;

    /**
     * 公钥
     */
    private String accessKeyId;

    /**
     * 私钥
     */
    private String accessKeySecret;

    /**
     * 桶名称
     */
    private String bucketName;

}
